-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor cli #258
refactor cli #258
Conversation
Signed-off-by: Kent Rancourt <[email protected]>
✅ Deploy Preview for docs-kargo-render-akuity-io ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #258 +/- ##
==========================================
- Coverage 20.90% 20.81% -0.09%
==========================================
Files 26 22 -4
Lines 1818 1797 -21
==========================================
- Hits 380 374 -6
+ Misses 1404 1390 -14
+ Partials 34 33 -1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Kent Rancourt <[email protected]>
Signed-off-by: Kent Rancourt <[email protected]>
8a62aa3
to
4cc8212
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the recent changes made to Kargo, and while taking note that I still need to ramp up my knowledge of this code base, this LGTM.
(Linter does not agree though, but that should be addressable). |
Signed-off-by: Kent Rancourt <[email protected]>
Whoops. Something snuck in from another branch I was working on. |
Working on #229, which is in-turn an enabled for akuity/kargo#1330, I intend to add at least a couple new flags.
I decided I'd like to get CLI refactoring similar to what was done in Kargo proper out of the way first in order to have a nice, clean starting point.
Edit: This also undoes the awkward bit where the main program looks at argo 0 to decide on running the CLI or the action. The action is now just a hidden command of the CLI.